/*jslint vars: true, forin: true, sloppy: true */
/*global probe, angular,navigator*/
probe.controller("loadTest", function ($scope, $element, $http, ocDialog) {
	var DI = ocDialog.queryDI($element);

	$scope.methodList = ['GET', 'POST'];
	$scope.method = 'GET';

	$scope.host = '';

	function doTest() {
		$http({
			method: $scope.method,
			url: $scope.host
		}).success(function (data) {

		}).error(function (err) {

		});
	}
});